package com.sskj.gocoin.m.bean;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/4/2 0002.
 */

public class UserInfo implements Serializable {


    /**
     * account : 715254426
     * idcard : 410182199301070019
     * mail :
     * mobile : 15093060100
     * realname : Hey
     * reg_time : 1554084574
     * status : 3
     * auth_status : 3
     * is_start_google : 1
     * wallone : 89999.0000
     * tgno : 7zQBTv
     * tpwd : 1
     * crowd_num : 0
     * qd : 1
     * pay_list : 0
     * is_shop : true
     * is_apply : 1
     * apply_reason :
     * concession_rate : 0.00
     * jigou_code : keiex1011
     * tb_fee : null
     * tb_max : null
     * tb_min : null
     * usdt : 10000
     * command : 1
     * cny_money : 603083.299
     * money1 : 10000
     * free_fee1 : 10
     * money2 : 30000
     * free_fee2 : 20
     * money3 : 100000
     * free_fee3 : 30
     * money4 : 150000
     * free_fee4 : 50
     * money5 : 200000
     * free_fee5 : 80
     */

    public String account;
    public String card_id;
    public String email;
    public String phone;
    public String avatar;
    public String reg_time;
    public double wallone;
    public String tgno;
    public String crowd_num;
    public int qd;
    public int pay_list;
    public boolean is_shop;
    public int is_apply;
    public String apply_reason;
    public String concession_rate;
    public String jigou_code;
    public String tb_fee;
    public String tb_max;
    public String tb_min;
    public String usdt;
    public String cny_money;
    public String money1;
    public String free_fee1;
    public String money2;
    public String free_fee2;
    public String money3;
    public String free_fee3;
    public String money4;
    public String free_fee4;
    public String money5;
    public String free_fee5;
    public double wallone_usdt;

    private String grade;
    private String fy_rate;


    /**
     * id : 319
     * area_code : 86
     * email : null
     * name : null
     * tpath : null
     * authentication : 0
     * stoped : 0
     * created_at : 2019-11-05 14:15:41
     * updated_at : 2019-11-10 15:45:34
     * return : 0
     * refuse_reason : null
     * card_id : null
     * config : {"google_verify":1,"google_bind":1,"sms_verify":0,"payment_password_set":0,"phone_bind":1,"phone_verify_at":"2019-11-05 14:15:41","email_bind":0,"email_verify_at":null,"security_level":0,"jd_level":11,"created_at":"2019-11-05 14:15:41","updated_at":"2019-11-10 17:04:25"}
     * wallasset : {"ttl_usdt":0,"ttl_rmb":0,"ttl_usd":0,"ttl_th":0,"asset":[{"id":2,"code":"EGG","actprice":0.454,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":3,"code":"FEED","actprice":2.0895,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":8,"code":"PEACOCK","actprice":2.0895,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":1,"code":"USDT","actprice":0,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0}]}
     */

    private int id;
    private String area_code;
    private String name;
    private String tpath;
    private int authentication;
    private int stoped;
    private String created_at;
    private String updated_at;
    private String refuse_reason;
    private ConfigBean config;
    private WallassetBean wallasset;


    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getCard_id() {
        return card_id;
    }

    public void setCard_id(String card_id) {
        this.card_id = card_id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getReg_time() {
        return reg_time;
    }

    public void setReg_time(String reg_time) {
        this.reg_time = reg_time;
    }

    public double getWallone() {
        return wallone;
    }

    public void setWallone(double wallone) {
        this.wallone = wallone;
    }

    public double getWallone_usdt() {
        return wallone_usdt;
    }

    public void setWallone_usdt(double wallone_usdt) {
        this.wallone_usdt = wallone_usdt;
    }

    public String getTgno() {
        return tgno;
    }

    public void setTgno(String tgno) {
        this.tgno = tgno;
    }

    public String getCrowd_num() {
        return crowd_num;
    }

    public void setCrowd_num(String crowd_num) {
        this.crowd_num = crowd_num;
    }

    public int getQd() {
        return qd;
    }

    public void setQd(int qd) {
        this.qd = qd;
    }

    public int getPay_list() {
        return pay_list;
    }

    public void setPay_list(int pay_list) {
        this.pay_list = pay_list;
    }

    public boolean isIs_shop() {
        return is_shop;
    }

    public void setIs_shop(boolean is_shop) {
        this.is_shop = is_shop;
    }

    public int getIs_apply() {
        return is_apply;
    }

    public void setIs_apply(int is_apply) {
        this.is_apply = is_apply;
    }

    public String getApply_reason() {
        return apply_reason;
    }

    public void setApply_reason(String apply_reason) {
        this.apply_reason = apply_reason;
    }

    public String getConcession_rate() {
        return concession_rate;
    }

    public void setConcession_rate(String concession_rate) {
        this.concession_rate = concession_rate;
    }

    public String getJigou_code() {
        return jigou_code;
    }

    public void setJigou_code(String jigou_code) {
        this.jigou_code = jigou_code;
    }

    public String getTb_fee() {
        return tb_fee;
    }

    public void setTb_fee(String tb_fee) {
        this.tb_fee = tb_fee;
    }

    public String getTb_max() {
        return tb_max;
    }

    public void setTb_max(String tb_max) {
        this.tb_max = tb_max;
    }

    public String getTb_min() {
        return tb_min;
    }

    public void setTb_min(String tb_min) {
        this.tb_min = tb_min;
    }

    public String getUsdt() {
        return usdt;
    }

    public void setUsdt(String usdt) {
        this.usdt = usdt;
    }


    public String getFree_fee1() {
        return free_fee1;
    }

    public void setFree_fee1(String free_fee1) {
        this.free_fee1 = free_fee1;
    }


    public String getFree_fee2() {
        return free_fee2;
    }

    public void setFree_fee2(String free_fee2) {
        this.free_fee2 = free_fee2;
    }


    public String getFree_fee3() {
        return free_fee3;
    }

    public void setFree_fee3(String free_fee3) {
        this.free_fee3 = free_fee3;
    }


    public String getFree_fee4() {
        return free_fee4;
    }

    public void setFree_fee4(String free_fee4) {
        this.free_fee4 = free_fee4;
    }

    public String getCny_money() {
        return cny_money;
    }

    public void setCny_money(String cny_money) {
        this.cny_money = cny_money;
    }

    public double getMoney1() {
        return TextUtils.isEmpty(money1) ? 0 : Double.valueOf(money1);
    }

    public void setMoney1(String money1) {
        this.money1 = money1;
    }

    public double getMoney2() {
        return TextUtils.isEmpty(money2) ? 0 : Double.valueOf(money2);
    }

    public void setMoney2(String money2) {
        this.money2 = money2;
    }

    public double getMoney3() {
        return TextUtils.isEmpty(money3) ? 0 : Double.valueOf(money3);
    }

    public void setMoney3(String money3) {
        this.money3 = money3;
    }

    public double getMoney4() {
        return TextUtils.isEmpty(money4) ? 0 : Double.valueOf(money4);
    }

    public void setMoney4(String money4) {
        this.money4 = money4;
    }

    public double getMoney5() {
        return TextUtils.isEmpty(money5) ? 0 : Double.valueOf(money5);
    }

    public void setMoney5(String money5) {
        this.money5 = money5;
    }

    public String getFree_fee5() {
        return free_fee5;
    }

    public void setFree_fee5(String free_fee5) {
        this.free_fee5 = free_fee5;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getFy_rate() {
        return fy_rate;
    }

    public void setFy_rate(String fy_rate) {
        this.fy_rate = fy_rate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getArea_code() {
        return area_code;
    }

    public void setArea_code(String area_code) {
        this.area_code = area_code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTpath() {
        return tpath;
    }

    public void setTpath(String tpath) {
        this.tpath = tpath;
    }

    public int getAuthentication() {
        return authentication;
    }

    public void setAuthentication(int authentication) {
        this.authentication = authentication;
    }

    public int getStoped() {
        return stoped;
    }

    public void setStoped(int stoped) {
        this.stoped = stoped;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getRefuse_reason() {
        return refuse_reason;
    }

    public void setRefuse_reason(String refuse_reason) {
        this.refuse_reason = refuse_reason;
    }

    public ConfigBean getConfig() {
        return config;
    }

    public void setConfig(ConfigBean config) {
        this.config = config;
    }

    public WallassetBean getWallasset() {
        return wallasset;
    }

    public void setWallasset(WallassetBean wallasset) {
        this.wallasset = wallasset;
    }

    public static class ConfigBean implements Serializable {
        /**
         * google_verify : 1
         * google_bind : 1
         * sms_verify : 0
         * payment_password_set : 0
         * phone_bind : 1
         * phone_verify_at : 2019-11-05 14:15:41
         * email_bind : 0
         * email_verify_at : null
         * security_level : 0
         * jd_level : 11
         * created_at : 2019-11-05 14:15:41
         * updated_at : 2019-11-10 17:04:25
         */

        private int google_verify;
        private int google_bind;
        private int sms_verify;
        private int payment_password_set;
        private int phone_bind;
        private String phone_verify_at;
        private int email_bind;
        private String email_verify_at;
        private int security_level;
        private int jd_level;
        private String created_at;
        private String updated_at;

        public int getGoogle_verify() {
            return google_verify;
        }

        public void setGoogle_verify(int google_verify) {
            this.google_verify = google_verify;
        }

        public int getGoogle_bind() {
            return google_bind;
        }

        public void setGoogle_bind(int google_bind) {
            this.google_bind = google_bind;
        }

        public int getSms_verify() {
            return sms_verify;
        }

        public void setSms_verify(int sms_verify) {
            this.sms_verify = sms_verify;
        }

        public int getPayment_password_set() {
            return payment_password_set;
        }

        public void setPayment_password_set(int payment_password_set) {
            this.payment_password_set = payment_password_set;
        }

        public int getPhone_bind() {
            return phone_bind;
        }

        public void setPhone_bind(int phone_bind) {
            this.phone_bind = phone_bind;
        }

        public String getPhone_verify_at() {
            return phone_verify_at;
        }

        public void setPhone_verify_at(String phone_verify_at) {
            this.phone_verify_at = phone_verify_at;
        }

        public int getEmail_bind() {
            return email_bind;
        }

        public void setEmail_bind(int email_bind) {
            this.email_bind = email_bind;
        }

        public String getEmail_verify_at() {
            return email_verify_at;
        }

        public void setEmail_verify_at(String email_verify_at) {
            this.email_verify_at = email_verify_at;
        }

        public int getSecurity_level() {
            return security_level;
        }

        public void setSecurity_level(int security_level) {
            this.security_level = security_level;
        }

        public int getJd_level() {
            return jd_level;
        }

        public void setJd_level(int jd_level) {
            this.jd_level = jd_level;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }
    }

    public static class WallassetBean implements Serializable {
        /**
         * ttl_usdt : 0
         * ttl_rmb : 0
         * ttl_usd : 0
         * ttl_th : 0
         * asset : [{"id":2,"code":"EGG","actprice":0.454,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":3,"code":"FEED","actprice":2.0895,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":8,"code":"PEACOCK","actprice":2.0895,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0},{"id":1,"code":"USDT","actprice":0,"balance":0,"frost":0,"balance_usdt":0,"balance_rmb":0,"balance_th":0,"balance_usd":0}]
         */

        private String ttl_usdt;
        private String ttl_rmb;
        private double ttl_usd;
        private double ttl_th;
        private List<AssetBean> asset;

        public String getTtl_usdt() {
            return ttl_usdt;
        }

        public void setTtl_usdt(String ttl_usdt) {
            this.ttl_usdt = ttl_usdt;
        }

        public String getTtl_rmb() {
            return ttl_rmb;
        }

        public void setTtl_rmb(String ttl_rmb) {
            this.ttl_rmb = ttl_rmb;
        }

        public double getTtl_usd() {
            return ttl_usd;
        }

        public void setTtl_usd(double ttl_usd) {
            this.ttl_usd = ttl_usd;
        }

        public double getTtl_th() {
            return ttl_th;
        }

        public void setTtl_th(double ttl_th) {
            this.ttl_th = ttl_th;
        }

        public List<AssetBean> getAsset() {
            return asset;
        }

        public void setAsset(List<AssetBean> asset) {
            this.asset = asset;
        }

        public static class AssetBean implements Serializable {
            /**
             * id : 2
             * code : EGG
             * actprice : 0.454
             * balance : 0
             * frost : 0
             * balance_usdt : 0
             * balance_rmb : 0
             * balance_th : 0
             * balance_usd : 0
             */

            private int id;
            private String code;
            private double actprice;
            private double balance;
            private double frost;
            private double balance_usdt;
            private double balance_rmb;
            private double balance_th;
            private double balance_usd;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public double getActprice() {
                return actprice;
            }

            public void setActprice(double actprice) {
                this.actprice = actprice;
            }

            public double getBalance() {
                return balance;
            }

            public void setBalance(double balance) {
                this.balance = balance;
            }

            public double getFrost() {
                return frost;
            }

            public void setFrost(int frost) {
                this.frost = frost;
            }

            public double getBalance_usdt() {
                return balance_usdt;
            }

            public void setBalance_usdt(double balance_usdt) {
                this.balance_usdt = balance_usdt;
            }

            public double getBalance_rmb() {
                return balance_rmb;
            }

            public void setBalance_rmb(double balance_rmb) {
                this.balance_rmb = balance_rmb;
            }

            public double getBalance_th() {
                return balance_th;
            }

            public void setBalance_th(double balance_th) {
                this.balance_th = balance_th;
            }

            public double getBalance_usd() {
                return balance_usd;
            }

            public void setBalance_usd(double balance_usd) {
                this.balance_usd = balance_usd;
            }
        }
    }
}
